<template>
  <el-upload
      :action="$upFile"
      multiple
      :before-remove="beforeRemove"
      :limit="1"
      :on-exceed="handleExceed"
      :on-success="handleFileSuccess"
  >
    <el-button type="primary">Click to upload</el-button>
    <template #tip>

    </template>
  </el-upload>
</template>

<script setup>

let emits = defineEmits('upResponse')


function handleFileSuccess() {
  emits("upResponse",)
}
</script>

<style scoped>

</style>
